package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.FollowinfoDao;
import io.renren.modules.generator.entity.FollowinfoEntity;
import io.renren.modules.generator.service.FollowinfoService;



@Service("followinfoService")
public class FollowinfoServiceImpl implements FollowinfoService {
	@Autowired
	private FollowinfoDao followinfoDao;
	
	@Override
	public FollowinfoEntity queryObject(String followno){
		return followinfoDao.queryObject(followno);
	}
	
	@Override
	public List<FollowinfoEntity> queryList(Map<String, Object> map){
		return followinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return followinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(FollowinfoEntity followinfo){
		followinfoDao.save(followinfo);
	}
	
	@Override
	public void update(FollowinfoEntity followinfo){
		followinfoDao.update(followinfo);
	}
	
	@Override
	public void delete(String followno){
		followinfoDao.delete(followno);
	}
	
	@Override
	public void deleteBatch(String[] follownos){
		followinfoDao.deleteBatch(follownos);
	}
	
}
